/*
* $Id: HousingDialog.h 165 2010-10-14 18:26:07Z volok-aleksej@yandex.ru $
*
* Copyright 2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _HOUSING_DIALOG_H_
#define _HOUSING_DIALOG_H_

class CHousingDialog : public CDialog
{
	CComboBox m_typeHousing;
	CComboBox m_typeFrame;
	int m_nIdHousing;
	std::tstring m_strName;
	int m_nTypeHousing;
	int m_nFrames;
	int m_nIdFamily;
	bool m_bUpdate;
	std::map<int, std::tstring> m_aTypesHousing;
	std::map<int, std::tstring> m_aTypesFrame;
	void GetTypes();
protected:
	virtual BOOL OnInitDialog();
	virtual void DoDataExchange(CDataExchange* pDX);
	virtual void OnOK();
public:
	CHousingDialog();
	CHousingDialog(int nId);
	virtual ~CHousingDialog();
public:
	int GetIdHousing();
	int GetTypeHousing();
	int GetTypeFrames();
	std::tstring GetNameHousing();
};

#endif/*_HOUSING_DIALOG_H_*/